package com.xyht.sca_s.student_manage_system.modules.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.user.entity.ChangeUserPassword;
import com.xyht.sca_s.student_manage_system.modules.user.entity.SmsUser;
import com.xyht.sca_s.student_manage_system.modules.user.entity.req.SmsUserLoginReq;
import com.xyht.sca_s.student_manage_system.modules.user.entity.req.WxLoginReq;
import com.xyht.sca_s.student_manage_system.modules.user.entity.req.WxMpMessagePushReq;


/**
 * <p>
 * 用户信息 服务类
 * </p>
 *
 * @author XYHT
 * @since 2022-11-27
 */
public interface SmsUserService extends IService<SmsUser> {
    ResponseResult webLogin (SmsUserLoginReq smsUserLoginReq);
    ResponseResult wxLogin (SmsUserLoginReq smsUserLoginReq);
    ResponseResult wxLoginCheck(WxLoginReq wxLoginReq);
    ResponseResult wxBindUser(WxLoginReq wxLoginReq,String user_id);
    ResponseResult wxUnBindUser(WxLoginReq wxLoginReq,String user_id);

    ResponseResult getPersonInfo(String user_id);
    ResponseResult getUserInfo(String user_id);
    ResponseResult updateUserPic(String user_id,String user_pic);
    ResponseResult userChangePasswordByVerifyCode(ChangeUserPassword changeUserPassword);
    ResponseResult userChangePasswordByOldPassword(String user_id,ChangeUserPassword changeUserPassword);
    ResponseResult phoneVerifyCode(String phoneNum);

    ResponseResult searchUser(String search_str);

    ResponseResult wxMpMessagePushSwitch(WxMpMessagePushReq req, String user_id);
}
